package be.bonamis.umpire.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import be.bonamis.umpire.domain.Person;

public interface PersonRepository extends JpaRepository<Person, Integer> {
	List<Person> findByFirstNameLike(String firstName);
	List<Person> findByLastNameLike(String lastName);
	List<Person> findByLastNameLikeOrFirstNameLike(String lastName, String firstName);	
}
